<div class="comment">
	<h4>评论&留言</h4>
	<div>
		<form name="charge" id="charge" onsubmit="return false" action="" method="post">
			<textarea name="comment" maxlength="140"></textarea>
			<input type="hidden" value="<!--{$id}-->" name="tid"/>
			<div class="bttndiv">
				<span class="notice">提示：您最多可输入140个字符。</span><input type="submit" class="bttn" value="提交" onclick="publish(this);"/>
			</div>
		</form>
	</div>
	<div id="comment-list">
	<!--{if $message}-->
		<!--{foreach from=$message item=val}-->
		<dl class="ask">
			<dt><a href="<!--{if $val.uid}-->http://pic.dev/personal?uid=<!--{$val.uid}--><!--{else}-->javascript:;<!--{/if}-->"><img src="<!--{if $val.face}--><!--{$val.face}--><!--{else}-->/public/img/default.png<!--{/if}-->"/></a></dt>
			<dd class="say">
				<p><a href="<!--{if $val.uid}-->http://pic.dev/personal?uid=<!--{$val.uid}--><!--{else}-->javascript:;<!--{/if}-->"><font size="2"><!--{if $val.uname}--><!--{$val.uname}--><!--{else}--><!--{$val.address}--><!--{/if}--></font>:</a><!--{$val.cmt|substr:0:73}--></p>
				<div class="time"><span><!--{$val.pubtime}--></span><span><a href="javascript:;" onclick="answer(this,<!--{$val.cmtid}-->);">回复</a></span></div>
				<!--{if $val.answer}-->
				<!--{foreach from=$val.answer item=v}-->
				<dd class="aslist"><!--{$v.cmt}--><span><!--{$v.pubtime}--><a href="<!--{if $v.uid}-->http://pic.dev/personal?uid=<!--{$v.uid}--><!--{else}-->javascript:;<!--{/if}-->"><!--{if $v.uname}--><!--{$v.uname}--><!--{else}--><!--{$v.address}--><!--{/if}--></a></span></dd>
				<!--{/foreach}-->
				<!--{/if}-->
			</dd>				
		</dl>
		<!--{/foreach}-->
	<!--{else}-->
		<div align="center" id="nocmt">~~暂无评论~~</div>
	<!--{/if}-->		
	</div>
</div>
<script src="/public/js/cmt.js"></script>